﻿<!DOCTYPE html PUBLIC "-//W3C//DTD//XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <title>CSS Test: Determining computed or used</title>
        <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
        <link rel="help" href="http://www.w3.org/TR/CSS21/visuren.html#position-props" />
        <meta name="flags" content="" />
        <meta name="assert" content="Determine if inherited values are using the computed or used values." />
        <style type="text/css">
            div
            {
                border-top: 2px solid;
            }
            #a
            {
                background: yellow;
                height: 100px;
            }
            #b
            {
                position: relative;
                bottom: 10%; /* 10px */
                height: 400px;
            }
            #c
            {
                position: relative;
                top: inherit;
            }
        </style>
    </head>
    <body>
        <p>Test passes if there is one thick line </p>
        <div id="a">
            <div id="b">
                <div id="c"></div>
            </div>
        </div>
    </body>
</html>